package com.shaozi.nc.web.action.bean;

import java.io.Serializable;
import java.util.List;
/**
 * 接收数据参数 详见文档
 * https://shimo.im/doc/qQgbULW9G0UkyFJ9
 * @author lyx
 *
 */
public class OrgChatGroupBean implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1214816212882466185L;
	public static final String OPT_DELETE = "delete";
	public static final String OPT_GEN = "gen";
	
	private String companyId;
	private String deptId;
	private String depChargeId;//部门主管id
	private List<String> uidList;
	private String deptName;
	private String operate;
	private Integer groupType;//企业类型  规定 3和4  3==部门，4=＝企业
	private Integer operateType;//操作类型
	
	public String getCompanyId() {
		return companyId;
	}
	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}
	public List<String> getUidList() {
		return uidList;
	}
	public String getDepChargeId() {
		return depChargeId;
	}
	public void setDepChargeId(String depChargeId) {
		this.depChargeId = depChargeId;
	}
	public void setUidList(List<String> uidList) {
		this.uidList = uidList;
	}
	public String getOperate() {
		return operate;
	}
	public void setOperate(String operate) {
		this.operate = operate;
	}
	
	public boolean isDelete(){
		return OPT_DELETE.equals(operate);
	}
	public String getDeptId() {
		return deptId;
	}
	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}
	public String getDeptName() {
		return deptName;
	}
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	public Integer getOperateType() {
		return operateType;
	}
	public void setOperateType(Integer operateType) {
		this.operateType = operateType;
	}
	public Integer getGroupType() {
		return groupType;
	}
	public void setGroupType(Integer groupType) {
		this.groupType = groupType;
	}
	@Override
	public String toString() {
		return "OrgChatGroupBean [companyId=" + companyId + ", deptId=" + deptId + ", depChargeId=" + depChargeId
				+ ", uidList=" + uidList + ", deptName=" + deptName + ", operate=" + operate + ", groupType="
				+ groupType + ", operateType=" + operateType + "]";
	}
	
}
